package com.wgo.precise.client.ui.controller.listeners;

import com.wgo.precise.client.ui.controller.listeners.ModelItemDeletedListener;
import com.wgo.precise.client.ui.controller.listeners.NewModelItemCreatedListener;
import com.wgo.precise.client.ui.controller.listeners.PreciseSubject.PreciseListener;
import com.wgo.precise.client.ui.model.facade.IModelPersistable;


/**
 * @author petterei
 *
 *	TODO: Remove interfaces: ModelItemDeletedListener, NewModelItemCreatedListener and fix this in implementing classes..
 *
 * @version $Id: IModelChangeListener.java,v 1.2 2006-01-30 21:52:33 petterei Exp $
 */
public interface IModelChangeListener extends PreciseListener , ModelItemDeletedListener, NewModelItemCreatedListener {

    /**
     * Structural updates. Requires updates of structures. Ie. adding an item
     * requires change in a tree-display of the model.
     */
    public void onModelChange(IModelPersistable targetChangeItem);
        
}
